package com.zimin.cloud.mine.pojo.wiki.business;

import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 文档 业务对象
 * </p>
 *
 * @author zimin
 * @since 2021-10-27 21:02
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class DocBO  implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    @NotNull(message = "【电子书不可为空】")
    private String ebookId;
    private String parent;
    @NotNull(message = "【名称不可为空】")
    private String name;
    @NotNull(message = "【排序不可为空】")
    private Integer sort;
    private Integer viewCount;
    private Integer voteCount;

    private String content;
}

